icontheme: Drop unnecessary allocation
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Oct 2016 10:34:36 +0000 (11:34 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Oct 2016 10:44:11 +0000 (11:44 +0100)
commit39e848c0eb396de601af26ca0aa4d29492e5f533
tree02ce4c5289abb3f74a18ce7180024f63abd58bef
parent5563ba96bc083e57044d5a68570b053615267e5c
icontheme: Drop unnecessary allocation

Use a static array for the known icon sizes, now that we don't allow
registering custom icon sizes any more. This allows us to cut a one-off
allocation that makes Valgrind sad.
gtk/gtkicontheme.c